package cn.xawl.gulimall.search.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author lh
 * @create 2020-10-25 12:18
 **/
@Data
public class SearchParams implements Serializable {


    private static final long serialVersionUID = -2427538969456472396L;

    private String keyword; //全文匹配关键字

    private Long catalog3Id; //三级分类id

    /*
    * sort = saleCount_asc/desc
    * sort = skuPrice_asc/desc
    * sort = hotScore_asc/desc
    * */
    private String sort; //排序条件

    /*
    * 过滤条件：
    * hasStock：是否有货 0【无货】/1【有货】
    * skuPrice：价格区间 1_200【1-200元】/_200【小于200元】/200_【大于200元】
    * brandId：品牌id
    * attrs：属性 attrs=1_其它:安卓&xxx
    * */
    private Integer hasStock = 1; //是否有货 默认查询有货

    private String skuPrice;

    private List<Long> brandId; //可以多个品牌

    private List<String> attrs; //属性

    private Integer pageNum;

    private String _queryString;

    private String _url;
}
